/*
 * @文件描述: 
 * @版本: 
 * @作者: 周晨阳
 * @Date: 2021-04-18 15:07:43
 */
#ifndef CURRENTMETER_H
#define CURRENTMETER_H
#include "public.h"
#include "typedef.h"

#define UNIT_A 0
#define UNIT_MA 1
#define UNIT_UA 2


void CurrentMeterInit();
void openCurrentMeter();
void closeCurrentMeter();
float getCurrent();
float getRawCurrent();
float getCurrentNeedleAngle();
unsigned char getI_Unit();
void CurrentMeterLooper();
void changeCurrentFactor(int factor);
int getCurrentFactor();



#endif